#ifndef GROUND_H
#define GROUND_H
#include<QRect>
#include<QImage>
#include<QWidget>
class ground :public QWidget
{
public:
    ground();
public:
    void move();
    QRect getRect();
    QImage & getImage();
protected:
   void timerEvent(QTimerEvent *);
private:
    QImage image;
    QRect rect;
    int timerId;
};
#endif // GROUND_H
